const { defineConfig } = require('@vue/cli-service')
module.exports = defineConfig({
  devServer: {
    proxy: {
      '/api': {
        target: 'http://localhost:10024',
        changeOrigin: true
      }
    },
    client: {
      overlay: false  // 关闭错误覆盖层
    },
  },
  transpileDependencies: true,
  css:{
    loaderOptions:{
      less:{}
    }
  },
})
